package com.sunny.myproject.sales.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.sunny.myproject.system.entity.IdEntity;

@Entity
@Table(name = "tb_salesTicket")
public class SalesTicket extends IdEntity {

	private String p_name;
	private String p_type;
	private String saler;
	private double price;
	private Integer amount;
	private String remark;
	//店铺
	private String shop;
	//录入时间
	private Date date;
	//利润
	private double profits;

	public double getProfits() {
		return profits;
	}

	public void setProfits(double profits) {
		this.profits = profits;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getP_name() {
		return p_name;
	}

	public String getShop() {
		return shop;
	}

	public void setShop(String shop) {
		this.shop = shop;
	}

	public void setP_name(String p_name) {
		this.p_name = p_name;
	}

	public String getP_type() {
		return p_type;
	}

	public void setP_type(String p_type) {
		this.p_type = p_type;
	}

	public String getSaler() {
		return saler;
	}

	public void setSaler(String saler) {
		this.saler = saler;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
